package com.gpStudy.design.proxy.cglibProxy;

import net.sf.cglib.core.DebuggingClassWriter;

public class CglibProxyTest {
    public static void main(String[] args) {
        System.setProperty(DebuggingClassWriter.DEBUG_LOCATION_PROPERTY,"E://cglib_proxy_classes");
        Customer customer = (Customer) new CglibMeiPoProxy().getInstance(Customer.class);
        customer.findLove();

        customer.eat();
    }
}
